close all; clear all;


t = timer;


% Assign values to timer object properties using the set function.

set(t,'ExecutionMode','fixedRate','BusyMode','drop','Period',1);

% Assign a value to the timer object TimerFcn property using dot notation.

% t.TimerFcn = @(x,y) disp(urlread('http://localhost:8678/quotes/OBX1D400.OMFE'));
% t.TimerFcn = @(x,y) disp(urlread('http://localhost:8678/quotes/wlist=obxoptions'));
t.TimerFcn = @timerFuncTest

% Start the timer object

h = figure(); %Create figure to display SABR etc

start(t)


% Stop the timer object.

% stop(t)


% Delete timer objects after you are done using them.

% delete(t)